<?php


namespace app\admin\controller;




use app\admin\service\RoomService;

class Room extends Backend
{
    public function getUserInfo()
    {
        $userService = new RoomService();
        $result = $userService->getUserInfo($this->userId);
        return $result;
    }

    public function updateUserInfo()
    {
        $userService = new RoomService();
        $result = $userService->updateUserInfo($this->userId);
        return $result;
    }

}